package com.hunliji.monitor.share.component.apollo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 和飞书相关的配置
 * @author wuchen
 */
@Configuration
@ConfigurationProperties(prefix = "feishu.config")
@Data
public class FeiShuConfig {
    /**
     * 飞书的appId - 用于校验
     */
    private String appId;
    /**
     * 飞书的Secret-用于校验
     */
    private String appSecret;

    /**
     * 加密密钥
     */
    private String encryptKey;
    /**
     * 飞书的gitlab appId - 用于校验
     */
    private String gitLabAppId;
    /**
     * 飞书的gitlab Secret-用于校验
     */
    private String gitLabAppSecret;

    private String createItemTemplate;

    private Boolean createItemOpen=false;
}
